package com.cz.video.common.vod.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * vod元数据,详情见
 * https://help.aliyun.com/zh/vod/developer-reference/api-vod-2017-03-21-getmezzanineinfo?spm=a2c4g.11186623.0.0.495b5f04gtvAUA
 */
@Data
@Schema(description = "vod元数据")
@Builder
public class VodMetaInfo {

    @Schema(description = "vid")
    private String vid;

    @Schema(description = "状态")
    private String status;


    @Schema(description = "文件url")
    private String fileURL;

    @Schema(description = "高度")
    private Long height;

    @Schema(description = "宽度")
    private Long width;

    @Schema(description = "大小，单位比特")
    private Long size;

    @Schema(description = "码率")
    private String bitrate;

    @Schema(description = "时长：42.4930s")
    private String duration;

    @Schema(description = "帧率：25.96")
    private String fps;
}
